package com.xinpu.service.impl;

import com.xinpu.entity.TUserTag;
import com.xinpu.mapper.TagAdminMapper;
import com.xinpu.service.TagAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TagAdminServiceImpl
 *
 * @author ayuan
 * @date 2021/5/17
 */
@Service
public class TagAdminServiceImpl implements TagAdminService {

    @Autowired
    private TagAdminMapper tagAdminMapper;

    /**
     * 标签列表
     *
     * @param tenantId
     * @return
     */
    @Override
    public List<TUserTag> getList(String tenantId) {
        return tagAdminMapper.getList(tenantId);
    }

    @Override
    public List<TUserTag> userTagList(String tenantId, List<Integer> ids) {
        return tagAdminMapper.userTagList(tenantId, ids);
    }
}
